package com.project.xsf.mapper;

import com.project.xsf.entity.MDesignProcedureModule;

import java.util.List;

public interface MDesignProcedureModuleMapper {
    int deleteByPrimaryKey(Integer id);

    //通过父类编号删除
    int deleteByPId(Integer pId);

    int insert(MDesignProcedureModule record);

    int insertSelective(MDesignProcedureModule record);

    MDesignProcedureModule selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MDesignProcedureModule record);

    int updateByPrimaryKey(MDesignProcedureModule record);

    //通过父类编号查询
    List<MDesignProcedureModule> queryMDesignProcedureModuleByPId(Integer pId);

    //通过产品编号和id查询
    List<MDesignProcedureModule> queryMDesignProcedureModuleByProductId(String productId,Integer mDesignProcedureDetailId);


}